﻿using System.Collections.Generic;
using Downloader.Domain;
using Downloader.Framework.Queries;
using Downloader.Infrastructure;
using Downloader.Web.Controllers.ViewModels;

namespace Downloader.Web.Controllers.Queries
{
    public interface ICategoryListQuery
    {
        RecordList<CategoryViewModel> GetList(int page, int size);
        IList<CategoryViewModel> GetSubList(int parentId);
        IList<Category> GetMenu();
    }
}
